package com.dayatang.exam.domain;

import java.util.List;

import com.dayatang.domain.BaseEntityRepository;

public interface RegistrationRepository extends BaseEntityRepository<Registration, Long> {
	List<Registration> findByExam(Exam exam);
	List<Registration> findByStudent(User student);
	List<User> findStudentsByExam(Exam exam);
	List<Exam> findExamsByStudent(User student);
}
